package com.esyoga.yoyoga.mapper;

import com.esyoga.yoyoga.pojo.TPlatform;
import com.esyoga.yoyoga.pojo.TPlatformExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TPlatformMapper {
    long countByExample(TPlatformExample example);

    int deleteByExample(TPlatformExample example);

    int deleteByPrimaryKey(Integer pId);

    int insert(TPlatform record);

    int insertSelective(TPlatform record);

    List<TPlatform> selectByExample(TPlatformExample example);

    TPlatform selectByPrimaryKey(Integer pId);

    int updateByExampleSelective(@Param("record") TPlatform record, @Param("example") TPlatformExample example);

    int updateByExample(@Param("record") TPlatform record, @Param("example") TPlatformExample example);

    int updateByPrimaryKeySelective(TPlatform record);

    int updateByPrimaryKey(TPlatform record);
}